<?php
class Custom_Controller_Plugin_Common extends Zend_Controller_Plugin_Abstract
{
    public function routeShutdown(Zend_Controller_Request_Abstract $request)
    {
        $module = $request->getModuleName();
        $bootstrap = Zend_Controller_Front::getInstance()->getParam('bootstrap');
        $locale = $bootstrap->getResource('Locale');
        $resourceOptions = $bootstrap->getOption('resources');

        //Additional features for translation        
        $translate = $bootstrap->getResource('Translate');
        $translateFile = $translate->directory.
                         $locale.'/'.
                         'wenda_' . $module . '.csv';

        $translate->addTranslation($translateFile, $locale);
    }
}
?>
